package pl.agh.edu.exceptions.remote;

public class MbcApiException extends Exception {
	private int code;
	/**
	 * 
	 */
	private static final long serialVersionUID = 7090167992412948479L;
	public MbcApiException(Throwable ex, int code){
		super(ex);
		this.code = code;
	}
	
	public MbcApiException(String ex, int code){
		super(ex);
		this.code = code;
	}

	public int getCode() {
		return code;
	}
}
